package com.letfox.log.enums;

/**
 * 认证日志 方式、状态、类型枚举
 */
public class AuthLogEnums {
	
	/**
	 * 认证方式 */
	public enum AuthWay{
		LOGIN_LOG_WAY_WEB("WEB", "0"),
		LOGIN_LOG_WAY_IOS("IOS", "1"),
		LOGIN_LOG_WAY_WX("WX", "2"),
		LOGIN_LOG_WAY_AN("ANDROID", "3");
		
		private String name;
		private String value;
		
		private AuthWay(String name, String value) {
			this.name = name;
			this.value = value;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 认证类型 */
	public enum AuthType {
		LOGIN_LOG_TYPE("LOGIN_LOG_TYPE", "0"),
		LOGIN_REGISTER_TYPE("LOGIN_REGISTER_TYPE", "1");

		private String name;
		private String value;

		private AuthType(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String index) {
			this.value = index;
		}
	}
	
	/**
	 * 认证状态 */
	public enum AuthState{
		LOGIN_LOG_STATE_SUCESS("SUCCESS", "0"),
		LOGIN_LOG_STATE_FAIL("FAIL", "1");

		private String name;
		private String value;

		private AuthState(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String index) {
			this.value = index;
		}
	}
}
